package com.universalInterface.lims_interface.service.impl;

import com.universalInterface.lims_interface.entity.TestReport;
import com.universalInterface.lims_interface.mapper.TestReportMapper;
import com.universalInterface.lims_interface.service.ITestReportService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 实验室测试报告数据
 * </p>
 *
 * @author author
 * @since 2023-12-19
 */
@Service
public class TestReportServiceImpl implements ITestReportService {

	@Resource
	private TestReportMapper testReportMapper;

	@Override
	public Integer addBatch(List<TestReport> testReport) {
//        testReport.forEach(item -> item.setTestReportGuid(IdUtil.getSnowflakeNextId()));

		int j = testReportMapper.addBatch(testReport);
		return j;
	}
}
